.cssNav {
  position: relative;
  width: 760.5px;
  height: 42px;
  padding: 1px 0 1px 1px;
  background: rgba(206, 206, 206, 1);

  &:after {
    content: '';
    display: block;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 21px solid rgba(206, 206, 206, 1);
    position: absolute;
    right: -21px;
    top: 0;
  }

  > li {
    width: 250px;
    height: 40px;
    line-height: 40px;
    background: rgba(241, 242, 245, 1);
    display: inline-block;
    color: rgba(102, 102, 102, 1);
    position: relative;
    text-align: center;

    &:after {
      content: '';
      display: block;
      border-top: 20px solid transparent;
      border-bottom: 20px solid transparent;
      border-left: 20px solid rgba(241, 242, 245, 1);
      position: absolute;
      right: -20px;
      top: 0;
      z-index: 10;
    }

    &:before {
      content: '';
      display: block;
      border-top: 20px solid rgba(241, 242, 245, 1);
      border-bottom: 20px solid rgba(241, 242, 245, 1);
      border-left: 20px solid rgba(206, 206, 206, 1);
      position: absolute;
      left: -2px;
      top: 0;
    }

    &:first-child:before {
      display: none;
    }

    /*选中后的样式*/
    &.active {
      background-color: #1890ff;
      color: #fff;
    }

    &.active:after {
      border-left-color: #1890ff;
    }

    &.active:before {
      border-top-color: #1890ff;
      border-bottom-color: #1890ff;
    }
  }
}